package com.lt.test.entity.DO;


import com.lt.test.common.enums.PrivilegeTypeEnum;

import java.io.Serializable;
import java.util.Date;

/**
 * 权限DO实体
 *
 * @author zhengchuan
 */

public class PrivilegeDO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private String privilegeKey;
	private String privilegeName;
	private String pageUrl;
	private String iconClass;
	private String parentId;
	private PrivilegeTypeEnum type;
	private Date gmtCreate;
	private Date gmtModified;
	private boolean delete;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPrivilegeKey() {
		return privilegeKey;
	}
	public void setPrivilegeKey(String privilegeKey) {
		this.privilegeKey = privilegeKey;
	}
	public String getPrivilegeName() {
		return privilegeName;
	}
	public void setPrivilegeName(String privilegeName) {
		this.privilegeName = privilegeName;
	}
	public String getPageUrl() {
		return pageUrl;
	}
	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}
	public String getIconClass() {
		return iconClass;
	}
	public void setIconClass(String iconClass) {
		this.iconClass = iconClass;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public PrivilegeTypeEnum getType() {
		return type;
	}
	public void setType(PrivilegeTypeEnum type) {
		this.type = type;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
	public boolean isDelete() {
		return delete;
	}
	public void setDelete(boolean delete) {
		this.delete = delete;
	}
	@Override
	public String toString() {
		return "PrivilegeDO [id=" + id + ", privilegeKey=" + privilegeKey + ", privilegeName=" + privilegeName
				+ ", pageUrl=" + pageUrl + ", iconClass=" + iconClass + ", parentId=" + parentId + ", type=" + type
				+ ", gmtCreate=" + gmtCreate + ", gmtModified=" + gmtModified + ", delete=" + delete + "]";
	}
	
}
